package com.glela.domain.vo;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;


public class RedPacketShareHistVo {

	private BigDecimal amount; //金额
	private Date shareTime;		//分享时间
	private String picture; //头像
	private String nickName;
	private String status;
	private Date updateTime;
	private String desc;  //描述 只有 状态是 退回 和 分享中 才显示
	private String shareType;
	private String receiveUserId;		//红包领取人主键id
	private String backName;			//退回人的昵称
	private String backPicture;			//退回人头像
	private String shareUrl;         //分享url
	private String sharePicture;     //分享人头像
	private String activeDesc;
	private String storeUserName;
	
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	public Date getShareTime() {
		return shareTime;
	}
	public void setShareTime(Date shareTime) {
		this.shareTime = shareTime;
	}
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public String getActiveDesc() {
		return activeDesc;
	}
	public void setActiveDesc(String activeDesc) {
		this.activeDesc = activeDesc;
	}
	public String getStoreUserName() {
		return storeUserName;
	}
	public void setStoreUserName(String storeUserName) {
		this.storeUserName = storeUserName;
	}
	
	public String getSharePicture() {
		return sharePicture;
	}
	public void setSharePicture(String sharePicture) {
		this.sharePicture = sharePicture;
	}
	public String getShareUrl() {
		return shareUrl;
	}
	public void setShareUrl(String shareUrl) {
		this.shareUrl = shareUrl;
	}
	public String getBackName() {
		return backName;
	}
	public void setBackName(String backName) {
		this.backName = backName;
	}
	public String getBackPicture() {
		return backPicture;
	}
	public void setBackPicture(String backPicture) {
		this.backPicture = backPicture;
	}
	public String getReceiveUserId() {
		return receiveUserId;
	}
	public void setReceiveUserId(String receiveUserId) {
		this.receiveUserId = receiveUserId;
	}
	public String getShareType() {
		return shareType;
	}
	public void setShareType(String shareType) {
		this.shareType = shareType;
	}
	public BigDecimal getAmount() {
		return amount;
	}
	public void setAmount(BigDecimal amount) {
		if(null != amount){
			if(amount.compareTo(new BigDecimal(0)) > 0){
				amount = amount.divide(BigDecimal.valueOf(100));
			}
		}
		this.amount = amount;
	}
	
	public String getPicture() {
		return picture;
	}
	public void setPicture(String picture) {
		this.picture = picture;
	}
	public String getNickName() {
		return nickName;
	}
	public void setNickName(String nickName) {
		this.nickName = nickName;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getDesc() {
		return desc;
	}
	public void setDesc(String desc) {
		this.desc = desc;
	}
	
}
